



def SplitUnc(uncpath = ''):
	host  = ''
	share = ''
	path  = ''

	if uncpath != '':
		data = uncpath.split('\\')
		host  = data[2]
		share = data[3]	
		for d in data[4:]:
			if d != '':
				path = path + '/' + d
		
		path = path + '/'

	return (host, share, path)





h, s, p = SplitUnc('\\\\10.221.173.10\\pepe')
print h, s, p 
